module.exports = {
  success(res = {}) {
    this.body = {
      ...res,
      msg: res?.msg ?? "操作成功",
      code: res?.code ?? 200,
    };
  },
};
